﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Alex_s_Dream_The_Toy_World
{
    public class Sound
    {
        AudioEngine audioEngine;
        WaveBank waveBank;
        SoundBank soundBank;
        public void LoadContent()
        {
            audioEngine = new AudioEngine("Content\\FishSounds.xgs");//The new audio project
            waveBank = new WaveBank(audioEngine, "Content\\Wave Bank.xwb");//The name of the Wave bank
            soundBank = new SoundBank(audioEngine, "Content\\Sound Bank.xsb");//The name of the Sound bank

            soundBank.PlayCue("Music");
        }
    }
}
